module.exports = {
  exclude: /node_modules/,
  presets: [
    "@vue/cli-plugin-babel/preset",
    ["@babel/preset-env", {
      modules: false,
      useBuiltIns: 'usage',
      corejs: 3,
      targets: {
          chrome: "50", // 指定兼容 Chrome 50
        },
    }],
  ],
  plugins: [
    [
      "component",
      {
        libraryName: "element-ui",
        styleLibraryName: "theme-chalk",
      },
    ],
  ],
};

